//
//  HEPayManager.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/29.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WXApi.h"
#import <AlipaySDK/AlipaySDK.h>
#import "HEOrderModel.h"
 

NS_ASSUME_NONNULL_BEGIN

@interface HEPayManager : NSObject<WXApiDelegate>

/**
 临时存储订单信息，
 1、支付成功后同步订单属性
 2、线下脊柱康复订单支付成功后需要同步一些订单信息
 3、居家照料订单支付成功后同步订单消息
 */
@property (nonatomic, strong) HEOrderModel * order;


+ (instancetype)sharedManager;

/**
 注册微信支付
 */
- (void)setupWXPay;

/**
发起支付宝支付请求
*/
- (void)senAliPayRequest:(NSString *)orderParmas;


- (void)payManagerCallbackWithPayType:(HEOrderPayType)payType results:(NSDictionary *)results;


@end

NS_ASSUME_NONNULL_END
